﻿using UnityEngine.Events;

namespace com.tdb.foundation
{
    public static class UnityActionExtensions
    {
        public static void SafeInvoke(this UnityAction callback)
        {
            if (callback != null)
            {
                callback.Invoke();
            }
        }    
    }
}

